﻿@using BLL.Security
@using Web.Infrastructure
<!DOCTYPE html>
<html class="">
<head>
    <title>Form Sample</title>
       @Url.WriteCss("~/Areas/Admin/css/a.css",
       "~/Areas/Admin/css/base.css",
       "~/Areas/Admin/css/jquery.ui.css",
       "~/css/alertify.core.css",
       "~/css/alertify.default.css",
       "~/Areas/Admin/css/layout.css",
       "~/Areas/Admin/css/form.css",
       "~/Areas/Admin/css/grid.css",
       "~/Areas/Admin/css/fileuploader.css",
       "~/Areas/Admin/css/menu.css")

    <!--[if lt IE 9]>
            <script language="javascript" src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
</head>
<body>
<header>
    <a href="@Url.Action(MVC.Admin.Content.Dashboard())"><img src="@Url.Content("~/i/logo.gif")"/></a>
    @{
        var administrator = DependencyResolver.Current.GetService<IEnvironmentContext>().Administrator;
    }
    <span id="welcome">
        @if(administrator!= null)
        {
             <a href="@Url.Action(MVC.Admin.Security.LogOff())" class="log-off">Log off</a>
        }
    </span>
</header>
    <div id="content" class="admin loading">
    @RenderBody()
</div>
    <footer>
        <div class="left-footer">
            <img src="@Url.Content("~/i/footer_logo.gif")"/>
        </div>
    </footer>
    <script type="text/javascript" src="@Url.Action(MVC.Shared.SiteMap())"></script>
    @Url.WriteJs("~/Areas/Admin/js/a.js",
    "~/js/jquery.js",
    "~/js/underscore.js",
    "~/js/backbone.js",
    "~/js/jquery.ui.js",
    "~/js/jquery.ui.widgets.js",
    "~/js/jquery.textchange.js",
    "~/js/alertify.js",
    "~/js/url.js",
    "~/js/message.js",
    "~/js/customCursor.js",
    "~/js/jquery.iframe-transport.js",
    "~/js/jquery.fileupload.js",
    "~/js/ui.widget.autocomplete.js",
    "~/js/ui.widget.fileuploader.js",
    "~/js/ui.widget.imageupload.js",
    "~/Areas/Admin/js/CustomView.js",
    "~/Areas/Admin/js/CustomModel.js",
    "~/Areas/Admin/js/ListingModel.js",
    "~/Areas/Admin/js/ListingView.js",
    "~/js/jquery.ui.validator.js",
    "~/Areas/Admin/js/ConfirmDialog.js",
    
            "~/Areas/Admin/js/Authors/authorCreateModel.js",
            "~/Areas/Admin/js/Authors/authorEditModel.js",
            "~/Areas/Admin/js/Authors/authorListingModel.js",
            "~/Areas/Admin/js/Authors/authorCreateView.js",
            "~/Areas/Admin/js/Authors/authorEditView.js",
            "~/Areas/Admin/js/Authors/authorListingView.js",
            "~/Areas/Admin/js/Authors/authorRoutes.js",
            
            "~/Areas/Admin/js/Books/bookCreateModel.js",
            "~/Areas/Admin/js/Books/bookEditModel.js",
            "~/Areas/Admin/js/Books/bookListingModel.js",
            "~/Areas/Admin/js/Books/bookCreateView.js",
            "~/Areas/Admin/js/Books/bookEditView.js",
            "~/Areas/Admin/js/Books/bookListingViews.js",
            "~/Areas/Admin/js/Books/bookRoutes.js",
            
            "~/Areas/Admin/js/Categories/categoryCreateModel.js",
            "~/Areas/Admin/js/Categories/categoryEditModel.js",
            "~/Areas/Admin/js/Categories/categoryListingModel.js",
            "~/Areas/Admin/js/Categories/categoryCreateView.js",
            "~/Areas/Admin/js/Categories/categoryEditView.js",
            "~/Areas/Admin/js/Categories/categoryListingViews.js",
            "~/Areas/Admin/js/Categories/categoryRoutes.js",
            
            "~/Areas/Admin/js/Responses/responseCreateModel.js",
            "~/Areas/Admin/js/Responses/responseEditModel.js",
            "~/Areas/Admin/js/Responses/responseListingModel.js",
            "~/Areas/Admin/js/Responses/responseCreateView.js",
            "~/Areas/Admin/js/Responses/responseEditView.js",
            "~/Areas/Admin/js/Responses/responseListingViews.js",
            "~/Areas/Admin/js/Responses/responseRoutes.js",
            
            "~/Areas/Admin/js/Comments/commentCreateModel.js",
            "~/Areas/Admin/js/Comments/commentEditModel.js",
            "~/Areas/Admin/js/Comments/commentListingModel.js",
            "~/Areas/Admin/js/Comments/commentCreateView.js",
            "~/Areas/Admin/js/Comments/commentEditView.js",
            "~/Areas/Admin/js/Comments/commentListingView.js",
            "~/Areas/Admin/js/Comments/commentRoutes.js",
            
            "~/Areas/Admin/js/Users/userCreateModel.js",
            "~/Areas/Admin/js/Users/userEditModel.js",
            "~/Areas/Admin/js/Users/userListingModel.js",
            "~/Areas/Admin/js/Users/userCreateView.js",
            "~/Areas/Admin/js/Users/userEditView.js",
            "~/Areas/Admin/js/Users/userListingViews.js",
            "~/Areas/Admin/js/Users/userRoutes.js",
            
            "~/Areas/Admin/js/Content/DashboardView.js",
            "~/Areas/Admin/js/Content/contentRoutes.js",
            
            "~/Areas/Admin/js/Security/securityModel.js",
            "~/Areas/Admin/js/Security/securityView.js",
            "~/Areas/Admin/js/Security/securityRoutes.js",
            "~/Areas/Admin/js/Security/welcomeModel.js",
            "~/Areas/Admin/js/Security/welcomeView.js",
      
         "~/Areas/Admin/js/routes.js"
    )
</body>
</html>
